package com.oa.service;

import java.util.List;

import com.oa.bean.TObject;
import com.oa.dao.TObject_lzy_Dao;

public class TObject_lzy_ServiceImp implements TObject_lzy_Service {

	private TObject_lzy_Dao tobject_dao;
	
	public void setTobject_dao(TObject_lzy_Dao tobject_dao){
		this.tobject_dao = tobject_dao;
	}
	
	@Override
	public TObject save(TObject t) {
		TObject o = tobject_dao.save(t);
		return o;
	}

	@Override
	public void delete(TObject t) {
		tobject_dao.delete(t);
	}

	@Override
	public TObject uqdate(TObject t) {
		TObject o = tobject_dao.uqdate(t);
		return o;
	}

	@Override
	public List<TObject> select(String id) {
		List<TObject> list = tobject_dao.select(id);
		return list;
	}

	@Override
	public List<TObject> selects() {
		List<TObject> list = tobject_dao.selects();
		return list;
	}

	@Override
	public int queryId(TObject t) {
		int id = tobject_dao.queryId(t);
		return id;
	}

	@Override
	public void close() {
		tobject_dao.close();
	}

}
